package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 fujian
 * 
 * @author ruoyi
 * @date 2024-06-24
 */
public class Fujian extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 附件主键 */
    private String id;

    /** 所属ID */
    @Excel(name = "所属ID")
    private String ownerid;

    /** 文件名 */
    @Excel(name = "文件名")
    private String wenjianming;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String leixing;

    /** 文件地址 */
    @Excel(name = "文件地址")
    private String url;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private Long isvalid;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setOwnerid(String ownerid) 
    {
        this.ownerid = ownerid;
    }

    public String getOwnerid() 
    {
        return ownerid;
    }
    public void setWenjianming(String wenjianming) 
    {
        this.wenjianming = wenjianming;
    }

    public String getWenjianming() 
    {
        return wenjianming;
    }
    public void setLeixing(String leixing) 
    {
        this.leixing = leixing;
    }

    public String getLeixing() 
    {
        return leixing;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setIsvalid(Long isvalid) 
    {
        this.isvalid = isvalid;
    }

    public Long getIsvalid() 
    {
        return isvalid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ownerid", getOwnerid())
            .append("wenjianming", getWenjianming())
            .append("leixing", getLeixing())
            .append("url", getUrl())
            .append("isvalid", getIsvalid())
            .toString();
    }
}
